﻿@{
    ViewBag.Title = "FourKill!";
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=620">
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
    <script src="@Url.Content("~/scripts/jquery-2.0.0.js")"></script>
    <script src="@Url.Content("~/scripts/jquery.mobile.init.js")"></script>
    <script src="@Url.Content("~/scripts/jquery.mobile-1.3.1.js")"></script>
    <script src="@Url.Content("~/scripts/selfish.js")"></script>    
    <script src="@Url.Content("~/scripts/sage/sage.util.js")"></script>
<script>

$(document).ready(function () {

    var txt = "", p3d;
    p3d = util.toECEF(39.95567912657765, -86.0133147239685);
    txt += "<div>A: (" + p3d.x.toString() + ", " + p3d.y.toString() + ")\r\n<br/>";
    p3d = util.toECEF(39.95583949628957, -86.01331740617752);
    txt += "B: (" + p3d.x.toString() + ", " + p3d.y.toString() + ")\r\n<br/>";
    p3d = util.toECEF(39.956028649825384, -86.01332813501358);
    txt += "C: (" + p3d.x.toString() + ", " + p3d.y.toString() + ")\r\n<br/>";
    p3d = util.toECEF(39.95583949628957, -86.01304113864899);
    txt += "D: (" + p3d.x.toString() + ", " + p3d.y.toString() + ")\r\n<br/></div>";
    $("body").append(txt);
    /*
    A
    Latitude: 39.95567912657765 / 39° 57' 20"
    Longitude: -86.0133147239685 / -86° 0' 47"
    
    B
    Latitude: 39.95583949628957 / 39° 57' 21"
    Longitude: -86.01331740617752 / -86° 0' 47"
    
    C
    Latitude: 39.956028649825384 / 39° 57' 21"
    Longitude: -86.01332813501358 / -86° 0' 47"
    
    D
    Latitude: 39.95583949628957 / 39° 57' 21"
    Longitude: -86.01304113864899 / -86° 0' 46"
    */
});

</script>

    <title>@(ViewBag.Title)!</title>
</head>
<body style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; padding: 0;">

</body>
</html>
